/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.myorg.shr.gui.swg.display.labelized;

import com.toedter.calendar.JDateChooser;
import java.util.Date;
import javax.swing.JLabel;
import org.myorg.shr.gui.swg.display.panel.PnlAbs;

/**
 *
 * @author Hatsites
 *
 * email: Hatsites_AT_gmail.com
 * ... please remove "_AT_" from the above string to get the right email address
 */

abstract public class LbzDateChooserAbs extends PnlAbs {

    public LbzDateChooserAbs(String strText, int length){
        this._length_ = length;


        this._lblChamp_ = new JLabel(strText + " :");
        this._dateChooser_ = new JDateChooser();

    }

    public String getDate() {

        Date date = this._dateChooser_.getDate();
        String str = "";//= date.toString();
        System.out.println("intDate : "  + str);
        return "";
    }
    protected JLabel _lblChamp_;
    protected JDateChooser _dateChooser_;
    protected int _length_;
}
